PHY ADD RIGID BODY LOCAL FORCE AT LOCAL

Apply a force or impulse to the rigid body using local space coordinates.

  Syntax
PHY ADD RIGID BODY LOCAL FORCE AT LOCAL ID, forceX#, forceY#, forceZ#, x#, y#, z#, mode
  Parameters
ID
Integer
ID number of the rigid body
forceX#
Float
force on the X axis
forceY#
Float
force on the Y axis
forceZ#
Float
force on the Z axis
x#
Float
location on X axis in local space to apply force
y#
Float
location on Y axis in local space to apply force
z#
Float
location on Z axis in local space to apply force
mode
Integer
the method of force to apply from a selection of – 1, force, has unit of mass * distance / time ^ 2 2, impulse, has unit of mass * distance / time 3, velocity change, has unit of distance / time, effect is mass independent 4, smooth impulse, same

  Returns

  Example Code
No example code is provided for this command